home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Kudos and Q's
- Sent: 5/27/96 4:13 AM
- Received: 5/28/96 8:25 AM
- From: Dave Wilson, dwilson@best.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- Brian,
-
- >Lesson/question: I looked at the DU folder for SOM examples since I want my
- >calculation engine wrapped with SOM (or at least I think I do) so that I
- >can later turn it into a thread or separate process by replacing the SOM
- >library.
-
- Yes, you do want your calculation engine wrapped in SOM. Then you can use
- it from many different parts and/or applications. You can also build it,
- test it, and maintain it as a separate project from your part. All you part
- needs to do is provide a user interface.
-
- >The meta-question is: if I use SOM directly, will my source code be
- >cross-platform compatible (I know it probably is for OS/2, but what about
- >the $20,000 question, Windows95/NT?).
-
- SOM exists on Mac, Windows, OS/2, and AIX. I think IBM has also put in on
- AS/400 and MVS. Just be sure not to use any platform-specific code in your
- SOM library, and you should be able to recompile it for many different
- platforms.
-
- >The first more pragmatic question is: I don't really care about the "S",
- >".xh" and ".xih" files that are the output of the SOM compiler, do I? This
- >is just stuff to placate the linker and bind my calls, right?
-
- The ".xh" file must be included by C++ clients who use your SOM library.
-
- The ".xih" file must be included by the ".cpp" file that contains the
- implementation of your SOM functions.
-
- The ".exp" file should be added to your CodeWarrior project just like the
- ".idl" file. My latest version of these samples does it this way. I hope
- the ODF team has put these up on their web site.
-
- >The second more pragmatic question is: Metrowerks CW9 binds ".idl" with the
- >"SOMObjects TS" CodeWarrior plugin, does this mean the Finance SOM example
- >could be reworked so it doesn't need the MPW make file (nb, the MPW
- >'script' file)?
-
- Correct. You do not need the MPW script file.
-
- -Dave
-
- Dave Wilson
- Personal Concepts
- 635 Wellsbury Way
- Palo Alto, CA 94306
- voice: 415-494-6763
- email: dwilson@best.com
-
-